<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"> </meta>
    <title>Title</title>
</head>
<body>
<h1>客户列表展示</h1>
<table>
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>性别</td>
        <td>手机</td>
        <td>地址</td>
    </tr>
    <tr th:each="cust:${list}" style="width: 300px">
        <td th:text="${cust.id}"> </td>
        <td th:text="${cust.name}"> </td>
        <td th:text="${cust.gender}"> </td>
        <td th:text="${cust.telephone}"> </td>
        <td th:text="${cust.address}"> </td>
        <td> <a th:href="@{/customer/findById(id=${cust.id})}">修改</a></td>&nbsp;
        <td> <a th:href="@{/customer/delete(id=${cust.id})}">删除</a></td>
    </tr>

</table>
</body>
</html>